/* 
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package com.googlecode.hmvc4gwt.example.hmvcblog.service.gwtrpc.client.blog.entry;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.googlecode.hmvc4gwt.example.hmvcblog.service.dto.blog.BlogIdDTO;
import com.googlecode.hmvc4gwt.example.hmvcblog.service.dto.blog.entry.BlogEntryDTO;
import com.googlecode.hmvc4gwt.example.hmvcblog.service.dto.blog.entry.BlogEntryEditDTO;
import com.googlecode.hmvc4gwt.example.hmvcblog.service.dto.blog.entry.BlogEntryNewDTO;
import com.googlecode.hmvc4gwt.example.hmvcblog.service.dto.blog.entry.BlogEntryRemoveDTO;
import com.googlecode.hmvc4gwt.example.hmvcblog.service.dto.blog.entry.BlogEntryUpdateDTO;

/**
 * 
 * @author jens.meiss
 */
public interface IBlogEntryRemoteServiceAsync {
	
	public void addBlogEntry(BlogEntryNewDTO blogEntryNewDTO, AsyncCallback<Void> callback);
	
	public void removeBlogEntry(BlogEntryRemoveDTO blogEntryRemoveDTO, AsyncCallback<Void> callback);
	
	public void getListBlogEntry(BlogIdDTO blogIdDTO, AsyncCallback<List<BlogEntryDTO>> callback);
	
	public void editBlogEntry(BlogEntryEditDTO blogEntryEditDTO, AsyncCallback<Void> callback);

	public void updateBlogEntry(BlogEntryUpdateDTO blogEntryUpdateDTO, AsyncCallback<Void> callback);
}
